package com.fire.control.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.fire.control.system.statics.Type_Role;

@Entity
@Table(name = "t_user_device_group") 
public class UserDeviceGroup extends BaseEntity{
	
	private static final long serialVersionUID = -1405690497533598637L;
	
	@Column(name = "user_id", nullable = false,length=50)
	private String userId;
	
	@Column(name = "group_id", nullable = false,length=50)
    private String groupId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId == null ? null : groupId.trim();
    }
}